<?php
goto yW5D5Fhw6o;
YGGQ7WK12_:
A5jB4byltR:
sysmsg('<h3>访问频率太高！请等待' . $conf['mffw'] . '秒后再访问！</h3>');
exit(0);
NFLvQFhjVi:
if (!(strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/') !== !1)) {
    goto oSylt84JQd;
}
goto t519LBypcw;
uzJPFQcjtn:
goto MQs_CcIAmb;
X6yy99tFal:
bXXfYM582o:
if ($rowhy['type'] != 0x001) {
    goto c2H264g1Hy;
}
goto H05wEettrN;
goto OD2_EkA1S2;
Fv7mzrddDL:
if (empty($rowhy)) {
    goto ESM4WbqYmM;
}
goto bXXfYM582o;
ESM4WbqYmM:
$rowhy = $DB->{'get_row'}('SELECT * FROM meihe_list WHERE domain=\'' . get_host($domain) . '\' and `fhy`=\'2\' limit 1');
goto X6yy99tFal;
goto IZemPSyegC;
IwcRA9C8fX:
goto YRdLITjwHX;
p8227R9RAW:
rU_zp6jliO:
echo '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>';
echo $title;
goto vRsiI3neSu;
fLitSau6am:
echo '<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>';
goto niEohAzLBL;
X8iZ3Lq1p8:
echo '</div>
                <div class="t-2">请复制到浏览器打开～</div>
            </div>
                <a href="mttbrowser://url=';
echo $t_url;
goto uHn3xnA72X;
APHDUVbz07:
echo $gjbq;
echo '</div>
        </div>
        <div class="download-area">
            <img src="../assets/img/mtt.png" alt="" class="logo">
            <div>
                <div class="t-1" style="word-break:break-all;">';
echo $t_url;
goto X8iZ3Lq1p8;
cqtXk9WsJu:
goto Yy_1AjUQFF;
f630mc1WBF:
goto vB4gfHqBBi;
YRdLITjwHX:
if (!(strpos($_SERVER['HTTP_USER_AGENT'], 'QQ/') !== !1)) {
    goto TQmOm0bFP5;
}
goto TpaUEQ7nJS;
TQmOm0bFP5:
goto qnkUogrfIu;
dOkAzEiiR3:
goto j00Adhn54B;
MQs_CcIAmb:
$url_arr = parse_url($t_url);
$domain = $url_arr['host'];
$rowhy = $DB->{'get_row'}('SELECT * FROM meihe_list WHERE domain=\'' . $domain . '\' limit 1');
goto Fv7mzrddDL;
XSXViuGV5b:
echo $t_url;
echo '</div>
                <div class="t-2">请复制到浏览器打开～</div>
            </div>
                <a href="mttbrowser://url=';
echo $t_url;
echo '" class="button">前往</a>
        </div>
    </div>
    <meta http-equiv="refresh" content="0.1;url=mttbrowser://url=';
goto ExE0HRaCeh;
goto jB1PZMWUhX;
jB1PZMWUhX:
j00Adhn54B:
exit(0);
oRgPEB8i9b:
if ($rowhy['type'] == 0x0002) {
    goto rfQotdcmtQ;
}
goto nIa8NllLvQ;
goto LCN9hr3EVP;
iLt6c6JIWh:
D8FnD4cQN8:
goto cqtXk9WsJu;
d6QclVUR_6:
nIa8NllLvQ:
aUNmJQvwTE:
goto sD5l1E3rLi;
yW5D5Fhw6o:
if (!extension_loaded('xdebug')) {
    goto Jk2kTn0fRn;
}
exit('请先卸载xDebug拓展');
Jk2kTn0fRn:
if (!(!defined('KSESSYXOYMKYOLLWRAXMYXZUSVHGUUPC') || KSESSYXOYMKYOLLWRAXMYXZUSVHGUUPC != 'DECKPHP')) {
    goto EEcl3xzMwM;
}
exit('请勿删除DECK加密版权！By Moyu');
goto pYM8du2H2M;
Kx9umcXnWU:
$id = $_SERVER['QUERY_STRING'];
$row = $DB->{'get_row'}("\123\x45\x4c\105\x43\x54\x20\52\x20\x46\122\x4f\115\x20\155\x65\x69\x68\x65\x5f\x72\145\x70\x6f\162\x74\40\127\110\105\122\x45\40\165\x69\144\75\x27{$id}\47\x20\x6c\151\x6d\151\164\x20\61");
if ($row) {
    goto wGWdyugT9s;
}
goto trfqD83lU5;
wGWdyugT9s:
goto HNF1YEJUxC;
BBn1ul3F3r:
sysmsg('<h3>当前链接不存在，可能没有生成过或已被删记录！</h3>');
exit(0);
D85hv4_o6d:
goto fqDX72Nife;
vB4gfHqBBi:
goto YGGQ7WK12_;
LCN9hr3EVP:
rfQotdcmtQ:
sysmsg('<h3>当前网址' . $t_url . ' 已被拉黑无法访问！</h3>');
exit(0);
goto d6QclVUR_6;
C7JNIhh_Co:
goto m_d80UjAt7;
OD2_EkA1S2:
c2H264g1Hy:
$gjbq = $conf['tztcgg'];
H05wEettrN:
if ($rowhy['type'] != 0x001) {
    goto D8FnD4cQN8;
}
goto aUNmJQvwTE;
goto iLt6c6JIWh;
t519LBypcw:
goto rU_zp6jliO;
oSylt84JQd:
goto BXmTEUfwO7;
JTF3D0w_Ml:
echo '</div>
        </div>
        <div class="download-area">
            <img src="../assets/img/mtt.png" alt="" class="logo">
            <div>
                <div class="t-1" style="word-break:break-all;">';
goto XSXViuGV5b;
uHn3xnA72X:
echo '" class="button">前往</a>
        </div>
    </div>
    <meta http-equiv="refresh" content="0.1;url=mttbrowser://url=';
echo $t_url;
echo '">
</div>
</body>
</html>
';
goto mAkJl2hMNw;
mAkJl2hMNw:
goto sDCEO3z4F8;
pYM8du2H2M:
EEcl3xzMwM:
goto LVhRSV9nvw;
niEohAzLBL:
echo $title;
echo '</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="wap-font-scale" content="no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script type="text/javascript">{js}</script>
<script type="text/javascript" src="../assets/plugin/jump/qqapi.js?_bid=152"></script>
<script type="text/javascript" src="../assets/plugin/jump/jquery.min.js"></script>
<script type="text/javascript" src="../assets/plugin/jump/uomg.php?ver={ver}"></script>
<style type="text/css">
@charset "utf-8";html{color:#000;background:#fff;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent}
body,html{font-family:sans-serif}
a:hover{text-decoration:underline}
a,ins{text-decoration:none}
#app,body,html{width:100%;height:100%;margin:0;padding:0}
.ios-wechat-qq{height:100%;width:100%;position:relative}
.left-22{width:38%;margin-top:2.32rem;float:left}
.right-33{width:38%;margin-right:10px;float:right}
.description-1{font-size:15px;margin-left:5px;margin-top:30%;float:left}
.description-1 .t-1{color:#757575;letter-spacing:0}
.description-1 .t-2{color:#0f0f0f;letter-spacing:0}
.line-1{width:14%;float:right}
.line-2{top:5.33333rem;width:8%;float:left}
.description-2{text-align:center;font-size:15px;margin-left:10px;margin-top:10px;float:right}
.download-area{display:-ms-flexbox;display:flex;-ms-flex-direction:row;width:80%;margin:40% auto auto auto;padding:5%;background:#f9f9f9;border-radius:4px;-ms-flex-align:center;align-items:center}
.download-area .logo{width:15%;margin-right:5%}
.download-area .t-1{text-align:left;font-size:14px;color:#fb7299}
.download-area .t-2{text-align:left;margin-top:.21333rem;font-size:15px;color:#999}
.download-area .button{font-size:14px;color:#fff;width:5rem;height:1.5rem;line-height:1.5rem;text-align:center;background:#fb7299;border-radius:4px;margin-left:auto}
</style>
</head>
<body>
<div id="app">
    <div class="ios-wechat-qq">
        <div style="height: 25%;">
            <img src="../assets/img/HTB1idjsXzzuK1Rjy0Fp761EpFXar.png" alt="" class="left-22">
            <div class="description-1">
                <span class="t-1">若你已经安装了客户端，</span><br>
                <span class="t-2">请点击下方前往</span>
            </div>
            <img src="../assets/img/HTB1JBTqXEvrK1RjSszf760JNVXae.png" alt="" class="line-1">
        </div>
        <div style="height: 25%;">
            <img src="../assets/img/HTB16qvwXvjsK1Rjy1Xa762ispXab.png" alt="" class="line-2">
            <img src="../assets/img/HTB1FrrtXzDuK1Rjy1zj762raFXa7.png" alt="" class="right-33">
            <div class="description-2">或复制到浏览器打开<br>';
goto APHDUVbz07;
JRMHOywI00:
TpaUEQ7nJS:
goto C7JNIhh_Co;
X9M6LoEF1a:
G_LbDK8BwL:
$yesterday_time = date('Y-m-d', strtotime('-1 month')) . ' 00:00:00';
goto KuOeHq6iil;
q4NJezW9yN:
RpPASpoPd3:
sysmsg('<h3>当前域名已被拉黑，无法查看！</h3>');
exit(0);
Er3U3FUoYd:
$title = '正在为你打开网页中';
goto IwcRA9C8fX;
jAvZ9kpUU5:
goto mT4sXRMK0u;
goto p8227R9RAW;
fqDX72Nife:
if (in_array($t_url, explode('|', $conf['lhbamd']))) {
    goto RpPASpoPd3;
}
goto Er3U3FUoYd;
goto q4NJezW9yN;
uVEJpdo3qj:
goto ThY5PKmBs5;
kKBb3UGiPB:
echo '<!DOCTYPE html>
				<html lang="zh">
				<head>
				<title>正在打开网站中</title>
				<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
			</head>
<script>  
self.location.href="';
echo $t_url;
echo '"
</script>  
</html>
';
goto jAvZ9kpUU5;
KuOeHq6iil:
$meihepvy = $DB->{'count'}('SELECT count(*) FROM meihe_log where domain=\'' . $domain . '\' and and  click_time>=\'' . $yesterday_time . '\'');
if ($meihepvy > $conf['month_pv']) {
    goto SIRDlYUgFr;
}
goto oRgPEB8i9b;
SIRDlYUgFr:
sysmsg('<h3>当前网址' . $t_url . ' 本月访问次数已上限！</h3>');
goto dOkAzEiiR3;
vRsiI3neSu:
echo '</title>
<meta name="viewport" content="width=device-width,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
<meta name="format-detection" content="telephone=no">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="wap-font-scale" content="no">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<script type="text/javascript">{js}</script>
<script type="text/javascript" src="../assets/plugin/jump/qqapi.js?_bid=152"></script>
<script type="text/javascript" src="../assets/plugin/jump/jquery.min.js"></script>
<script type="text/javascript" src="../assets/plugin/jump/uomg.php?ver={ver}"></script>
<style type="text/css">
@charset "utf-8";html{color:#000;background:#fff;overflow-y:scroll;-webkit-text-size-adjust:100%;-ms-text-size-adjust:100%}
html *{outline:0;-webkit-text-size-adjust:none;-webkit-tap-highlight-color:transparent}
body,html{font-family:sans-serif}
a:hover{text-decoration:underline}
a,ins{text-decoration:none}
#app,body,html{width:100%;height:100%;margin:0;padding:0}
.ios-wechat-qq{height:100%;width:100%;position:relative}
.left-22{width:38%;margin-top:2.32rem;float:left}
.right-33{width:38%;margin-right:10px;float:right}
.description-1{font-size:15px;margin-left:5px;margin-top:30%;float:left}
.description-1 .t-1{color:#757575;letter-spacing:0}
.description-1 .t-2{color:#0f0f0f;letter-spacing:0}
.line-1{width:14%;float:right}
.line-2{top:5.33333rem;width:8%;float:left}
.description-2{text-align:center;font-size:15px;margin-left:10px;margin-top:10px;float:right}
.download-area{display:-ms-flexbox;display:flex;-ms-flex-direction:row;width:80%;margin:40% auto auto auto;padding:5%;background:#f9f9f9;border-radius:4px;-ms-flex-align:center;align-items:center}
.download-area .logo{width:15%;margin-right:5%}
.download-area .t-1{text-align:left;font-size:14px;color:#fb7299}
.download-area .t-2{text-align:left;margin-top:.21333rem;font-size:15px;color:#999}
.download-area .button{font-size:14px;color:#fff;width:5rem;height:1.5rem;line-height:1.5rem;text-align:center;background:#fb7299;border-radius:4px;margin-left:auto}
</style>
</head>
<body>
<div id="app">
    <div class="ios-wechat-qq">
        <div style="height: 25%;">
            <img src="../assets/img/HTB1idjsXzzuK1Rjy0Fp761EpFXar.png" alt="" class="left-22">
            <div class="description-1">
                <span class="t-1">若你已经安装了客户端，</span><br>
                <span class="t-2">请点击下方前往</span>
            </div>
            <img src="../assets/img/HTB1JBTqXEvrK1RjSszf760JNVXae.png" alt="" class="line-1">
        </div>
        <div style="height: 25%;">
            <img src="../assets/img/HTB16qvwXvjsK1Rjy1Xa762ispXab.png" alt="" class="line-2">
            <img src="../assets/img/HTB1FrrtXzDuK1Rjy1zj762raFXa7.png" alt="" class="right-33">
            <div class="description-2">或复制到浏览器打开<br>';
echo $gjbq;
goto JTF3D0w_Ml;
LVhRSV9nvw:
include '../meihe/common.php';
goto Kx9umcXnWU;
sD5l1E3rLi:
if (!($conf['mffw'] != 0 && $rowhy['type'] != 0x001 && isset($_SESSION['user_login_mail']) && $_SESSION['user_login_mail'] > TIMESTAMP - $conf['mffw'])) {
    goto EdTSVtXTdq;
}
goto A5jB4byltR;
EdTSVtXTdq:
$DB->{'query'}('insert into `meihe_log` (`domain`,`fwfs`,`time`,`click_time`,`user_agent`,`ip_address`) values (\'' . $domain . '\',\'' . $fhfwfs . '\',\'' . TIMESTAMP . '\',\'' . $date . '\',\'' . $user_agent . '\',\'' . real_ip() . '\')');
goto NFLvQFhjVi;
goto f630mc1WBF;
HNF1YEJUxC:
$t_url = $row['url'];
goto CaguMJONpt;
CaguMJONpt:
goto D85hv4_o6d;
trfqD83lU5:
goto BBn1ul3F3r;
qnkUogrfIu:
if (!(strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') !== !1)) {
    goto uZkbzNi0fo;
}
goto dXUWNneGIC;
uZkbzNi0fo:
$fhfwfs = '其它方式';
goto r1ePObJUgP;
goto JRMHOywI00;
Wp3fEG81AS:
sysmsg('<h3>当前网址' . $t_url . ' 今日访问次数已上限！</h3>');
exit(0);
goto X9M6LoEF1a;
BXmTEUfwO7:
if (!(strpos($_SERVER['HTTP_USER_AGENT'], 'MicroMessenger') !== !1)) {
    goto kKBb3UGiPB;
}
goto uVEJpdo3qj;
IZemPSyegC:
ExE0HRaCeh:
echo $t_url;
echo '">
</div>
</body>
</html>
';
goto mT4sXRMK0u;
ThY5PKmBs5:
goto fLitSau6am;
m_d80UjAt7:
$fhfwfs = 'QQ方式';
goto r1ePObJUgP;
dXUWNneGIC:
$fhfwfs = '微信方式';
r1ePObJUgP:
goto uzJPFQcjtn;
Yy_1AjUQFF:
$thtime = date('Y-m-d', strtotime('-1 day')) . ' 00:00:00';
$meihepvr = $DB->{'count'}('SELECT count(*) FROM meihe_log where domain=\'' . $domain . '\' and click_time>=\'' . $thtime . '\'');
if ($meihepvr > $conf['day_pv']) {
    goto p_G06u85Uz;
}
goto G_LbDK8BwL;
p_G06u85Uz:
goto Wp3fEG81AS;
sDCEO3z4F8:
mT4sXRMK0u:
